<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>添加栏目</title>
	<hdjs/>
</head>
<body>
	<div class='wrap'>
		<div class='menu_list'>
			<ul>
				<li>
					<a href="{|U:'index'}">栏目列表</a>
				</li>
			</ul>
		</div>
		<form action="" method='post'>
			<div class='title-header'>添加栏目</div>
			<table class='table1 hd-form'>
				<tr>
					<th>顶级</th>
					<td>
						<select name="pid" id="">
							<option value="0">顶级</option>
							<list from='$category' name='$c'>
								<option value="{$c.cid}">{$c._name}</option>
							</list>
						</select>
					</td>
				</tr>
				<tr>
					<th>名称</th>
					<td>
						<input type="text" name='cat_name' class='w200'>
					</td>
				</tr>
				<tr>
					<th>商品类型</th>
					<td>
						<select name="cat_id" id="">
							<option value="0">==商品类型==</option>
							<list from='$goodsType' name='$g'>
								<option value="{$g.cat_id}">{$g.cat_name}</option>
							</list>
						</select>
					</td>
				</tr>
				<tr>
					<th>状态</th>
					<td>
						<label>
							<input type="radio" name='is_show' value='0'> 隐藏
						</label>
						<label>
							<input type="radio" name='is_show' value='1' checked=""> 显示
						</label>
					</td>
				</tr>
				<tr>
					<th>单位</th>
					<td>
						<input type="text" value='件' name='measure_unit' class='w200'> 
					</td>
				</tr>
				<tr>
					<th>价格区间</th>
					<td>
						<input type="text"  name='grade' class='w200'> 
					</td>
				</tr>
				<tr>
					<th>关键字</th>
					<td>
						<input type="text" name='cat_key' class='w200'> 
					</td>
				</tr>
				<tr>
					<th>描述</th>
					<td>
						<textarea name="cat_desc" class='w300 h100'></textarea>
					</td>
				</tr>
			</table>
			<input type="submit" class='hd-success' value='添加'/>
	</form>
	</div>
	
</body>
</html>